package com.villaday.idf.model;

import java.util.List;

/**
 * Created by Administrator on 2017/3/21 0021.
 */
public class PoPularCityEntity {

    /**
     * Code : 200
     * Message : 获取成功
     * Data : [{"areaid":"110000","parentid":"0","areaname":"北京","layer":1},{"areaid":"310000","parentid":"0","areaname":"上海","layer":1},{"areaid":"410100","parentid":"410000","areaname":"郑州市","layer":2},{"areaid":"320100","parentid":"320000","areaname":"南京市","layer":2},{"areaid":"320500","parentid":"320000","areaname":"苏州市","layer":2},{"areaid":"420100","parentid":"420000","areaname":"武汉市","layer":2},{"areaid":"430100","parentid":"430000","areaname":"长沙市","layer":2},{"areaid":"440100","parentid":"440000","areaname":"广州市","layer":2},{"areaid":"440300","parentid":"440000","areaname":"深圳市","layer":2}]
     */

    private int Code;
    private String Message;
    private List<DataBean> Data;

    public int getCode() {
        return Code;
    }

    public void setCode(int Code) {
        this.Code = Code;
    }

    public String getMessage() {
        return Message;
    }

    public void setMessage(String Message) {
        this.Message = Message;
    }

    public List<DataBean> getData() {
        return Data;
    }

    public void setData(List<DataBean> Data) {
        this.Data = Data;
    }

    public static class DataBean {
        /**
         * areaid : 110000
         * parentid : 0
         * areaname : 北京
         * layer : 1
         */

        private String areaid;
        private String parentid;
        private String areaname;
        private int layer;

        public String getAreaid() {
            return areaid;
        }

        public void setAreaid(String areaid) {
            this.areaid = areaid;
        }

        public String getParentid() {
            return parentid;
        }

        public void setParentid(String parentid) {
            this.parentid = parentid;
        }

        public String getAreaname() {
            return areaname;
        }

        public void setAreaname(String areaname) {
            this.areaname = areaname;
        }

        public int getLayer() {
            return layer;
        }

        public void setLayer(int layer) {
            this.layer = layer;
        }
    }
}
